package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 版本控制对象 tb_app_version
 * 
 * @author ruoyi
 * @date 2025-04-29
 */
@Data
public class TbAppVersion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 版本控制编码 */
    @Excel(name = "版本控制编码")
    private String versionCode;

    /** app下载地址 */
    @Excel(name = "app下载地址")
    private String appUrl;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    @TableField(exist = false)
    private String content;

    @TableField(exist = false)
    private String versionName;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setVersionCode(String versionCode) 
    {
        this.versionCode = versionCode;
    }

    public String getVersionCode() 
    {
        return versionCode;
    }
    public void setAppUrl(String appUrl) 
    {
        this.appUrl = appUrl;
    }

    public String getAppUrl() 
    {
        return appUrl;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("versionCode", getVersionCode())
            .append("appUrl", getAppUrl())
            .append("createTime", getCreateTime())
            .append("status", getStatus())
            .toString();
    }
}
